﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Pages" Url="$Resources:cmscore,List_Pages_UrlName;" Path="BlogPages\Pages" RootWebOnly="False">
    <File Type="GhostableInLibrary" Name="default.aspx" Url="default.aspx">
      <Property Name="Title" Value="$Resources:NewsAndBlogs,BlogsTitle;"/>
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.NewsAndBlogs.NoTitle.Layout.aspx" />
      <Property Name="ContentType" Value="Welcome Page" />

      <AllUsersWebPart WebPartZoneID="TopRow" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.NewsAndBlogs.WebParts.BlogPostListWebPart, Eneta.Portal.NewsAndBlogs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import BlogPostListWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal blog post list web part</property>
                  <property name="Description" type="string">This web part displays list of blog posts.</property>
                                    <property name="ChromeState" type="chromestate">Normal</property>
                  <property name="ChromeType" type="chrometype">None</property>

                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
    <File Type="GhostableInLibrary" Name="add.aspx" Url="add.aspx">
      <Property Name="Title" Value="$Resources:NewsAndBlogs,AddBlog;"/>
      <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/Eneta.NewsAndBlogs.NoTitle.Layout.aspx" />
      <Property Name="ContentType" Value="Welcome Page" />

      <AllUsersWebPart WebPartZoneID="TopRow" WebPartOrder="1">
        <![CDATA[
          <webParts>
            <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
              <metaData>
                <type name="Eneta.Portal.Profiles.WebParts.BlogEditWebPart, Eneta.Portal.Profiles, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" />
                <importErrorMessage>Cannot import BlogPostListWebPart.</importErrorMessage>
              </metaData>
              <data>
                <properties>
                  <property name="Title" type="string">Eneta portal blog editor web part</property>
                  <property name="Description" type="string">This web part displays blog editor.</property>
                                    <property name="ChromeState" type="chromestate">Normal</property>
                  <property name="ChromeType" type="chrometype">None</property>

                </properties>
              </data>
            </webPart>
          </webParts>
        ]]>
      </AllUsersWebPart>
    </File>
  </Module>

</Elements>